package com.example.basicdemo.model.builder;

import com.isyscore.os.dev.api.IsyscoreRequestBuilder;
import com.isyscore.os.dev.util.IsyscoreHashMap;

/**
 * 修改组织状态
 */
public class SwitchRentalStatusRequestBuilder extends IsyscoreRequestBuilder {

    private IsyscoreHashMap headers;
    /**
     * 组织ID
     */
    private Integer rentalId;

    /**
     * 是否显示未启用组织节点
     */
    private Boolean isValid;

    public Integer getRentalId() {
        return rentalId;
    }

    public SwitchRentalStatusRequestBuilder setRentalId(Integer rentalId) {
        this.rentalId = rentalId;
        return this;
    }

    public Boolean getValid() {
        return isValid;
    }

    public SwitchRentalStatusRequestBuilder setValid(Boolean valid) {
        isValid = valid;
        return this;
    }

    public IsyscoreHashMap getHeaders() {
        return headers;
    }

    public SwitchRentalStatusRequestBuilder setHeaders(IsyscoreHashMap headers) {
        this.headers = headers;
        return this;
    }

    /**
     * 验证请求对象
     *
     * @return
     */
    @Override
    public boolean validate() {
        return false;
    }
}
